{"version":3,"sources":["script.js"],"names":["this","BX","Landing","exports","main_core","main_loader","_templateObject","_templateObject2","LandingSettings","options","_this","babelHelpers","classCallCheck","siteId","landingId","pages","container","document","getElementById","containerId","page","Tag","render","taggedTemplateLiteral","Dom","append","loadingPages","loaderContainer","insertAfter","loader","Loader","target","links","menuId","querySelectorAll","currentLink","forEach","link","Event","bind","event","preventDefault","stopPropagation","onLinkClick","dataset","current","saveButton","saveButtonId","onSave","createClass","key","value","showLoader","show","hideLoader","hide","onPageChange","placement","rest","Marketplace","bindPageAnchors","AppLayout","openApplication","appId","SITE_ID","LID","PLACEMENT","PLACEMENT_ID","placementId","pageId","_this2","pageToLoad","childNodes","length","push","ajax","get","result","innerHTML","splice","indexOf","form","querySelector","currentPage","hidden","_this3","submits","currPage","fetch","linkToSave","method","body","FormData","headers","Promise","all","then","results","ok","top","window","onCustomEvent","location","reload","SidePanel","Instance","close","err","console","error","Component"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,GACrBD,KAAKC,GAAGC,QAAUF,KAAKC,GAAGC,SAAW,IACpC,SAAUC,EAAQC,EAAUC,GAC5B,aAEA,IAAIC,EAAiBC,EACrB,IAAIC,EAA+B,WAIjC,SAASA,EAAgBC,GACvB,IAAIC,EAAQV,KAEZW,aAAaC,eAAeZ,KAAMQ,GAClCR,KAAKa,OAASJ,EAAQI,OACtBb,KAAKc,UAAYL,EAAQK,UAEzBd,KAAKe,MAAQN,EAAQM,MACrBf,KAAKgB,UAAYC,SAASC,eAAeT,EAAQU,aAEjD,IAAK,IAAIC,KAAQpB,KAAKe,MAAO,CAC3Bf,KAAKe,MAAMK,GAAMJ,UAAYZ,EAAUiB,IAAIC,OAAOhB,IAAoBA,EAAkBK,aAAaY,sBAAsB,CAAC,0DAC5HnB,EAAUoB,IAAIC,OAAOzB,KAAKe,MAAMK,GAAMJ,UAAWhB,KAAKgB,WAGxDhB,KAAK0B,aAAe,GACpB1B,KAAK2B,gBAAkBvB,EAAUiB,IAAI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